"In 538 B.C. the conqueror of Babylon, Cyrus king of Persia, issued a decree allowing the Jews to return to Jerusalem and rebuild the temple (see Ezr 1:2-4; 6:3-5). Led by Zerubbabel (but see note on Ezr 1:8, "Sheshbazzar"), about 50,000 Jews journeyed home and began work on the temple. About two years later (536) they completed the foundation amid great rejoicing (Ezr 3:8-10). Their success aroused the Samaritans and other neighbors who feared the political and religious implications of a rebuilt temple in a thriving Jewish state. They therefore opposed the project vigorously and managed to halt work until Darius the Great became king of Persia in 522 B.C. (Ezr 4:1-5, 24)." (THE NIV STUDY BIBLE NOTES, Introduction to Haggai, background)